<?php echo CHtml::errorSummary($meeting); ?>

<?php

echo CHtml::activeHiddenField($meeting, 'project_id') . "\n";
echo CHtml::activeHiddenField($meeting, 'id') . "\n";

?>

<h2><?php echo Yii::t('project', 'End of meeting'); ?></h2>
<?php if (Yii::app()->user->hasFlash('meeting')) { ?>
<div id="flashMsg" class="infoMsg">
<?php echo Yii::app()->user->getFlash('meeting'); ?>
</div>
<?php } ?>
<div class="yiiForm" id="next_objectives">
<div class="simple">
<?php echo CHtml::activeLabelEx($meeting,'next_date'); ?>
<?php 
$attribute = "next_date";
$opts = array();
CHtml::resolveNameId($meeting, $attribute, $opts);
$opts['size'] = 12;
echo "<span class='textarea'>";
echo ($meeting->next_date != null ? $meeting->next_date->format(Constants::DISPLAY_DATE_FORMAT) : "");
echo "</span>";
?>
</div>

<div class="simple" style="display:block;">
<?php echo CHtml::activeLabelEx($meeting,'meeting_comment'); ?><br />
</div>
<div class="textarea">
<?php 
echo $meeting->meeting_comment;
?>
</div>


</div><!-- yiiForm -->

